import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_tb_base_risk_unit_by_id_entity.g.dart';

@JsonSerializable()
class GetTbBaseRiskUnitByIdEntity {

	GetTbBaseRiskUnitByIdEntity();

	factory GetTbBaseRiskUnitByIdEntity.fromJson(Map<String, dynamic> json) => $GetTbBaseRiskUnitByIdEntityFromJson(json);
	String? id;
	String? companyCode;
	String? hazardCode;
	String? hazardDepId;
	String? hazardDep;
	String? hazardLiablePersonId;
	String? hazardLiablePerson;
	String? riskUnitName;
	String? hazardDistinguishPersonId;
	String? hazardDistinguishPerson;
	String? hazardDistinguishDepId;
	String? hazardDistinguishDep;
	dynamic coordinate;
	dynamic longitude;
	dynamic latitude;
	String? deleted;
	String? createDate;
	String? createBy;
	String? createById;
	String? updateDate;
	String? updateBy;
	String? updateById;
	String? riskObjectId;
	int? status;
	String? description;
	dynamic workType;
	String? isDistribution;
	int? isUpload;
	dynamic children;
	dynamic level;
	dynamic taskNum;

	Map<String, dynamic> toJson() => $GetTbBaseRiskUnitByIdEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}